//
//  DetailViewController.h
//  ZooNgonDoiOS
//
//  Created by Tran Minh Long on 8/7/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <UIKit/UIKit.h>


@class ZooSpotBean;
@class DetailTableView;

@protocol SpotDetailDelegate <NSObject>

@optional
- (void) pushToSpotDetailScreen: (ZooSpotBean*) spot;
- (void) backToHomeView;

@end

@interface DetailViewController : UIViewController 
{
    CGSize _screenSize;
    
    ZooSpotBean *_spotBean;
    
    // Header
    UIView *_vHeader;
    UIButton *_btnBack;
    UIButton *_btnCheckIn;
    UIButton *_btnShare;
    
    // Tabbar
    UIView *_vMenuBar;
    UIButton *_btnComment;
    UIButton *_btnMenu;
    UIButton *_btnLike;
    
    // Content
    DetailTableView *_vTableContent;
}

@property (nonatomic, retain) id <SpotDetailDelegate> spotDetailDelegate;
@property (nonatomic, retain) ZooSpotBean *_spotBean;

- (id) initWithSpot: (ZooSpotBean*) zooSpotBean;
@end
